﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Services.Description;
using OdeToFood.Filters;

namespace OdeToFood.Controllers
{
    public class CuisineController : Controller
    {
        //
        // GET: /Cuisine/
        [Log]
        // the passing parameter to the search action should match the paramter name in the "RouteConfig"
        public ActionResult Search(string name = "French")
        {
            
            var id = Server.HtmlEncode(name);
            return Content(id);
        }

    }
}
